<template>
  <div class="page-container">
    <h1>社区</h1>
    <p>这里是社区页面内容区域</p>
  </div>
</template>

<script setup>
import { onMounted } from 'vue'

onMounted(() => {
  console.log('社区页面加载完成')
})
</script>

<style scoped lang="less">
.page-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px;

  h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px 0;
  }

  p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
  }
}

@media (max-width: 768px) {
  .page-container {
    padding: 24px 16px;

    h1 {
      font-size: 24px;
    }

    p {
      font-size: 14px;
    }
  }
}
</style>
